<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>添加车辆
		</div>
		<div class="tool" id="submitBtns">
			<button type="button" class="btn btn-default"
				ng-click="addSupport.save()" ng-disabled="addCarForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<!-- Nav tabs -->
	<ul class="nav nav-tabs" role="tablist" style="clear: both">
		<li class="active"><a data-target="#addCarBaseInfo" role="tab"
			data-toggle="tab">基本信息</a></li>
	</ul>
	<!-- Tab panels -->
	<div class="tab-content">
		<!--此处存放各tab页div-->
		<div class="tab-pane active">
			<form id="addCarForm" name="addCarForm">
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>车牌号:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="plateNumber" name="plateNumber" type="text"
									class="form-control" ng-model="addSupport.entity.plateNumber"
									ng-maxlength="32" required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.plateNumber.$dirty && addCarForm.plateNumber.$valid"></span>
								<span class="error_tips"
									ng-show="addCarForm.plateNumber.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span
								class="notNull">*</span>车辆类型:</label>
							<div class="col-md-8 col-sm-10">
								<input id="typeName" name="typeName" type="text"
									class="form-control"> <input name="type" type="hidden"
									class="form-control" ng-model="addSupport.entity.type" required>
								<span class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.type.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>代码:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="code" name="code" type="text" class="form-control"
									ng-model="addSupport.entity.code" disabled>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>所属人:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="owner" name="owner" type="text" class="form-control"
									ng-model="addSupport.entity.owner" ng-maxlength="32" required>
								<span class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.owner.$dirty && addCarForm.owner.$valid"></span>
								<span class="error_tips"
									ng-show="addCarForm.owner.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>发动机号:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="engineNumber" name="engineNumber" type="text"
									class="form-control" ng-model="addSupport.entity.engineNumber"
									ng-maxlength="32" required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.engineNumber.$dirty && addCarForm.engineNumber.$valid"></span>
								<span class="error_tips"
									ng-show="addCarForm.engineNumber.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>识别代码:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="identificationCode" name="identificationCode"
									type="text" class="form-control"
									ng-model="addSupport.entity.identificationCode"
									ng-maxlength="32" required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.identificationCode.$dirty && addCarForm.identificationCode.$valid"></span>
								<span class="error_tips"
									ng-show="addCarForm.identificationCode.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">品牌型号:</label>
							<div class="col-md-8 col-sm-10">
								<input id="brandModel" name="brandModel" type="text"
									class="form-control" ng-model="addSupport.entity.brandModel"
									ng-maxlength="32" required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.brandModel.$dirty && addCarForm.brandModel.$valid"></span>
								<span class="error_tips"
									ng-show="addCarForm.brandModel.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>座位数:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="seatNumber" name="seatNumber" type="number" min="0"
									class="form-control" ng-model="addSupport.entity.seatNumber"
									required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.seatNumber.$dirty && addCarForm.seatNumber.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"> <span
								class="notNull">*</span>注册日期:
							</label>
							<div class="col-md-10 col-sm-10">
								<input id="registerTime" name="registerTime" type="text"
									class="form-control" ng-model="addSupport.entity.registerTime"
									required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.registerTime.$dirty && addCarForm.registerTime.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"> <span
								class="notNull">*</span>描述:
							</label>
							<div class="col-sm-10">
								<textarea id="description" name="description"
									class="form-control" rows="10" placeholder="可以输入线路介绍等。"
									ng-model="addSupport.entity.description" ng-maxlength="300"></textarea>
								<span class="error_tips"
									ng-show="addCarForm.description.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label">证件照:</label>
							<div class="col-sm-10" id="carLicense"></div>
						</div>
					</div>
				</div>
				<!-- <div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-10" id="carLicense">
								<img data-original="{{ addSupport.bind.image }}" src="{{ addSupport.bind.image }}">
							</div>
						</div>
					</div>
				</div> -->
				<!-- <div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-10" id="carLicense">
								<ul id="dowebok">
									<li ng-repeat="item in addSupport.bind.images"><img
										data-original="{{ item.path }}" src="{{ item.path }}"></li>
								</ul>
								<input name="isOk" type="hidden" class="form-control"
									ng-model="addSupport.bind.isOk" required> <span
									class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="addCarForm.isOk.$dirty && addCarForm.isOk.$valid"></span>
							</div>
						</div>
					</div>
				</div> -->
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-10">
								<ul id="dowebok">
									<li ng-repeat="item in addSupport.bind.images" style="list-style-type: decimal;margin: 8px 0;"><img
										data-original="{{ item.key }}" src="{{ item.src }}" style="width: 90%;">
									</li>
								</ul>
								<input name="isOk" type="hidden" class="form-control" ng-model="addSupport.bind.isOk" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="addRoomStyleForm.isOk.$dirty && addRoomStyleForm.isOk.$valid"></span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>